<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>flex - header_navbar</title>
    <link rel="stylesheet" href="../common.css">
    <style>
        * {
            margin: 0;
            padding: 0;
        }
        .header {
            width: 100%;
            height: 60px;
            line-height: 60px;
            background: #333;
        }
        .navbar {
            display: flex;
            width: 1200px;
            margin: 0 auto;
        }
        .navbar > a {
            font-size: 1.5rem;
            background: rgba(0, 0, 0, 0.1);
            display: inline-block;
            height: 100%;
            color: #fff;
        }
        .navbar  .navbar-nav {
            display: flex;
        }
        .navbar  .navbar-nav .nav-link {
            display: inline-block;
            padding: 0 0.5125rem;
            color: #ccc;
        }
        .ml-auto {
            margin-left: auto;
        }
    </style>
</head>
<body>
    <header class="header">
        <nav class="navbar">
            <a href="">hflxhn</a>
            <ul class="navbar-nav">
                <li><a href="" class="nav-link">item1</a></li>
                <li><a href="" class="nav-link">item2</a></li>
                <li><a href="" class="nav-link">item3</a></li>
            </ul>
            <ul class="navbar-nav ml-auto">
                <li><a href="" class="nav-link">退出</a></li>
            </ul>
        </nav>
    </header>
</body>
</html>
